import { Button, Row, Col } from "antd";
import { Link } from "react-router-dom";
import "./not-found.less";

export default function sys404() {
  return (
    <Row className='not-found'>
        <Col span={12} className='left'></Col>
        <Col span={12} className='right'>
          <h1>404</h1>
          <h2>抱歉，你访问的页面不存在</h2>
          <div>
            <Button type='primary'>
              <Link to={'/workbench'}>回到首页</Link>
            </Button>
          </div>
        </Col>
      </Row>
  );
}
